package com.jeeplus.modules.file.entity;


import java.util.Date;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 资源共享管理Entity
 * @author wangkai
 * @version 2017-12-15
 */
public class FileManage extends DataEntity<FileManage> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String summary;		// 摘要
	private String author;		// 作者
	private Date publishDate;		// 发布日期
	private String filePath;		// 文件
	private String classifyId;		// 分类
	private String classifyName;
	private Integer status;		// 审核状态（0:未审核，1:已审核）
	private Integer collect;    // 是否已收藏（0:未收藏，1:已收藏）
	
	public Integer getCollect() {
		return collect;
	}

	public void setCollect(Integer collect) {
		this.collect = collect;
	}

	public String getClassifyName() {
		return classifyName;
	}

	public void setClassifyName(String classifyName) {
		this.classifyName = classifyName;
	}

	public FileManage() {
		super();
	}

	public FileManage(String id){
		super(id);
	}

	@ExcelField(title="标题", align=2, sort=7)
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@ExcelField(title="摘要", align=2, sort=8)
	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}
	
	@ExcelField(title="作者", align=2, sort=9)
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
	
	@ExcelField(title="发布日期", align=2, sort=10)
	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}
	
	@ExcelField(title="文件", align=2, sort=11)
	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	
	@ExcelField(title="分类", align=2, sort=12)
	public String getClassifyId() {
		return classifyId;
	}

	public void setClassifyId(String classifyId) {
		this.classifyId = classifyId;
	}
	
	@ExcelField(title="审核状态（0:未审核，1:已审核）", align=2, sort=13)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}